<?php

/*******************************************************************************
 * 
 * Sample1.class.php
 * 
 * Sample table-to-object class extending the dbo class
 * 
 * 
 * @author Stanislas PERRIN <stanislas.perrin@gmail.com> <stan@extramuros.com>
 * 
 ******************************************************************************/

class table extends dbo
{
	public function __construct($dbConnectionObject=false,$tableName=false)
	{
		if ($dbConnectionObject)
		{
			 if ($tableName)
			 {
				 parent::__construct($dbConnectionObject,$tableName);
			 }
			 else
			 {
				 throw new debug(get_class($this) . " : nom de la table manquant", -888);
			 }
		}
		else
		{
			throw new debug(get_class($this) . " : objet de connexion à la BdD invalide", -888);
		}
	}
}

?>
